<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <!-- <button v-bind:a="a">按钮</button>
    <div v-bind:id="b">111</div>

    <img v-bind:src="img1" alt=""> -->

    <button :a="a">按钮</button>
    <div :id="b">111</div>

    <img :src="img1" alt="">
  </div>
  <script src="./vue.js"></script>
  <script>
    const a = 10;
    const vm = new Vue({
      el: '#app',
      data: {
       a:"这是a",
       b: 'box',
       img1: 'https://img2.baidu.com/it/u=924133470,1725987117&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281'
      }
    })
  </script>
</body>
</html>